package org.example.work.entity;

public class orders {
    int ordid;
    int user_id;
    int totprice;

    public int getOrdid() {
        return ordid;
    }

    public void setOrdid(int ordid) {
        this.ordid = ordid;
    }

    public int getUser_id() {
        return user_id;
    }

    public void setUser_id(int user_id) {
        this.user_id = user_id;
    }

    public int getTotprice() {
        return totprice;
    }

    public void setTotprice(int totprice) {
        this.totprice = totprice;
    }

    public orders() {
    }

    public orders(int user_id, int totprice) {
        this.user_id = user_id;
        this.totprice = totprice;
    }

    public orders(int ordid, int user_id, int totprice) {
        this.ordid = ordid;
        this.user_id = user_id;
        this.totprice = totprice;
    }

//    @Override
//    public String toString() {
//        return "orders{" +
//                "ordid=" + ordid +
//                ", user_id=" + user_id +
//                ", totprice=" + totprice +
//                '}';
//    }
}
